<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>夜读书FM - 音频分享平台,随时随地,听我想听!</title>
    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="format-detection" content="telephone=no">
    <meta name="author" content="夜读书,夜读书FM,电台">
    <meta name="description" content="音频分享平台，随时随地，听我想听！4亿用户选择的在线音频平台。1亿多条原创有声内容覆盖有声书、儿童、相声评书、财经新闻、音乐等328类。">
    <meta name="keywords" content="夜读书,网络电台,个人电台,音频,有声书,相声,儿童,音乐,情感">
    <link rel="stylesheet" href="{{ asset('/style/css/yefm.css') }}">   
    <script src="{{ asset('/scripts/ximalaya/xmsdk.min.js') }}"></script>
    <script src="{{ asset('/scripts/ximalaya/vue.min.js') }}"></script>
    <script src="{{ asset('/scripts/ximalaya/bscroll.min.js') }}"></script>
</head>
<body>
@include('mobile.nav')
<div class="page">
    @include('yefm.inc.search')
    @include('yefm.adinc.ximalaya-1')
    <div class="category" v-cloak>
        <span class="item" v-for="row in rows">
            <a class="list_title" :href="'{{url('yefm/category/')}}/' + row.id ">@{{row.category_name}}</a>
        </span>        
    </div>
@include('yefm.inc.footer')
</div>
<script src="{{url('/scripts/ximalaya/yefmconfig.js')}}"></script>
<script>
const xmly = new XMLY();    

//分类列表
xmly.request({
    url: 'https://api.ximalaya.com/categories/list',
    type: 'get',
    params: {
        //全部分类        
    }
}).then(res => {
    new Vue({
        el: '.category',
        data: {
            rows: res.data
        }
    });   
});
</script>
</body>
</html>
